package br.com.getdiscount.tcc.service;

import java.util.List;

import br.com.getdiscount.base.service.DefaultServiceImpl;
import br.com.getdiscount.tcc.model.loteca.HbnLotecaDAO;
import br.com.getdiscount.tcc.model.loteca.Loteca;
import br.com.getdiscount.tcc.model.lotecausuario.Lotecausuario;
import br.com.getdiscount.tcc.model.preco.HbnPrecoDAO;
import br.com.getdiscount.tcc.model.preco.Preco;

public class PrecoServiceImpl extends DefaultServiceImpl implements PrecoService {
	
	private HbnPrecoDAO precoDAO;

	@Override
	public List<Preco> findAllPrecoHistorico(Preco preco) {
		return getPrecoDAO().findAllPrecoHistorico(preco);
	}

	public HbnPrecoDAO getPrecoDAO() {
		return precoDAO;
	}

	public void setPrecoDAO(HbnPrecoDAO precoDAO) {
		this.precoDAO = precoDAO;
	}
	
}
